package com.gxa.eshps.cores.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gxa.eshps.cores.group.AddAdminVOGroup;
import lombok.Data;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @program: IntelliJ IDEA
 * @description:
 * @author: Mr.Wang
 * @create: 2022-07-01 11:38
 **/
@Data
@TableName("tb_admin")
public class AdminVO implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @NotEmpty(message = "手机号不能为空",groups = {AddAdminVOGroup.class})
    private String phone;

    private String pwd;
}
